#ifndef __DBG_H
#define __DBG_H

//----------------------------------Include-------------------------------------
#include  <stdint.h>
//------------------------------------------------------------------------------

//-----------------------------------Macro--------------------------------------
#define  DBG_NORMAL_INFO                0
#define  DBG_GPS_U3_to_U1               1
#define  DBG_NB_U0_to_U1                2
#define  DBG_CH4_U2_to_U1               3
//------------------------------------------------------------------------------

//------------------------------------Type--------------------------------------
//------------------------------------------------------------------------------

//---------------------------------Share Var------------------------------------
#ifdef  DBG_GLOBALS
#else
extern uint32_t                          gu32_dbg_to;
#endif
//------------------------------------------------------------------------------

//----------------------------------Declare-------------------------------------
void     it_dbg_rcv_one_byte(unsigned char c);
void     it_dbg_rcv_done(void);
//------------------------------------------------------------------------------
void     dbg_cyc(void);
void     dbg_out(char* s);
//------------------------------------------------------------------------------

#endif
//------------------------------------EOF---------------------------------------


